package cn.com.xf.dao.impl;

import org.springframework.stereotype.Repository;

import cn.com.xf.dao.TblSiteAppDao;
import cn.com.xf.dao.support.XFSqlMapClientDaoSupport;
import cn.com.xf.domain.TblSiteApp;

@Repository
public class TblSiteAppDaoImpl extends XFSqlMapClientDaoSupport implements TblSiteAppDao {

	@Override
	public TblSiteApp select() {
		return (TblSiteApp) getSqlMapClientTemplate().queryForObject("TBL_SITE_APP.select");
	}

	@Override
	public void update(TblSiteApp app) {
		getSqlMapClientTemplate().update("TBL_SITE_APP.update", app);
		
	}

	@Override
	public void insert(TblSiteApp app) {
		getSqlMapClientTemplate().insert("TBL_SITE_APP.insert", app);
		
	}

}
